import 'dart:math';
import 'dart:ui';
//import '../model/user.dart';
import 'package:flutter/material.dart';
import '../model/dc_ssdata.dart';
import '../../model/cleancar.dart';
import '../model/dc_ssdata.dart';
import '../model/user.dart';

class UIData {
  //routes
  static const String loginRoute = "/login";
  static const String homeRoute = "/home";
  static const String recordImgAddRoute = "/Record Img Add";
  static const String recordAudioAddRoute = "/Record Audio Add";

  //新闻公告 
  static const String NewsPaperSpaceId = "4ad3a1ee-fc54-4994-a0d5-02da3e0f5783";
  //使用手册
  static const String HelpPaperSpaceId = "15f4cb99-e0ef-4441-9282-de8b85fb4d00";
  //故障反馈
  static const String DebugDiscussSpaceId = "07cff2cb-729f-46ef-8fc5-b7111a0a01f7";
  //测站维护相关文件 
  static const String StationFileSpaceId = "64560d78-922e-44a2-b814-d816a7193ea4";

//库区巡查 空间Guid
static const String KqxcSpaceId = "febcad3a-b336-4560-8d14-6811cc14fffd";

static const String DangerSpaceId = "899b3c0f-557c-47d7-88f9-a2dab22e78e8";

static const String ShipUseSpaceId = "7f3090af-a18d-400c-81aa-3c56ccbf426b";

  static const Color FColor = Color.fromARGB(255, 4, 97, 164);
  static const Color BColor = Color.fromARGB(255, 233, 233, 239);

  static var Theme = new ThemeData(
    scaffoldBackgroundColor: BColor, //设置页面背景颜色
    primaryIconTheme:
        new IconThemeData(color: Colors.blue), //主要icon样式，如头部返回icon按钮
    // indicatorColor: Colors.blue,    //设置tab指示器颜色W
    iconTheme: new IconThemeData(size: 18.0), 
    primaryColor: FColor,
  );

  //strings
  static const String appName = "紫坪铺水库";
  //紫坪铺水库APP
  static const String appGuid = "e0f52846-4080-4338-8386-c72a770da5eb"; 
  
  //泄洪设施检修APP
  //static const String appGuid = "cd087cf6-369b-4422-95a1-3413d599e6d5"; 

//水调发文审批APP
  //static const String appGuid = "f9149278-787a-4431-9400-d9898380a699"; 

//  文件管理APP
  //static const String appGuid = "cb1d5068-22f1-4587-8095-56f90c7dbc06"; 

//实时数据
 // static const String appGuid = "d5c857e9-5076-475a-87b6-559437dd5c47"; 
 
 //水库调度令
 //static const String appGuid = "8159a093-e48c-4bd8-a8aa-08b35347347e"; 

 //static const String appGuid = "8159a093-e48c-4bd8-a8aa-08b35347347e"; 
  //漂浮物转运登记APP
 // static const String appGuid = "1dceaa7d-b5c5-45e4-98a5-71cd145b3e2b"; 




  static const int appVersion =2;
 //static const String apiServer = "http://47.95.205.213:8001/api";
  static const String apiServer = "http://47.108.62.6:27751/api";

   static const String apiServer2 = "http://47.108.62.6:27701/api/v1";
  
  ///临时调试使用
// static const String apiServer2 = "http://192.168.43.210:27701/api/v1";


  static const String fileUploadServer = "http://47.108.62.6:12346/upload";
  static const String fileUploadServer2 = "http://47.108.62.6:12346/upload2";

  static const String fileDownloadServer = "http://47.108.62.6:12346/download?id=";
  static const String fileDownloadServerOld = "http://47.95.205.213:12346/download?id=";


  static const String imageUploadServer = "http://47.108.62.6:27701/api/v1/FileServer/UploadImage";
  static const String imageDownloadServer = "http://47.108.62.6:27701/api/v1/FileServer/DownloadImage?id=";
  static const String imageDownloadServer2 = "http://47.108.62.6:27701/api/v1/FileServer/DownloadImage2?id=";
  static const String fileDownloadServer2 = "http://47.108.62.6:27701/api/v1/FileServer/DownloadImage?id=";


  static const MaterialColor ui_kit_color = Colors.grey;

  static DCSSData? SkData1;

  //randomcolor

  static bool IfLogin = false;
  static User? CurrentUser;
  static CleanCar? cleanCar;

  static String token='';
  /// Returns a random color.



}
